package com.audaque.cloud.iqs.dbs;

import com.audaque.cloud.iqs.dbs.service.DsHandler;
import com.audaque.cloud.iqs.dbs.service.impl.*;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.context.annotation.Bean;

@AutoConfiguration
public class IqsDbsAutoConfiguration {


    @Bean
    public DsHandler dsHandlerDm(){
        return new DsHandlerDm();
    }

    @Bean
    public DsHandler dsHandlerDws(){
        return new DsHandlerDws();
    }

    @Bean
    public DsHandler dsHandlerMrs(){
        return new DsHandlerMrs();
    }
    @Bean
    public DsHandler dsHandlerMysql(){
        return new DsHandlerMysql();
    }

    @Bean
    public DsHandler dsHandlerOracle(){
        return new DsHandlerOracle();
    }
}
